import { ModuleTree } from 'vuex'
import app, { AppState } from './app'
import user, { UserState } from './user'
import tabsView, { tabsViewState } from './tabsView'

export type RootState = AppState | UserState | tabsViewState

const modulesStore = {
  app,
  user,
  tabsView,
}

export default modulesStore as ModuleTree<RootState>
